package com.nantong.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

import com.nantong.admin.domain.Product;
import com.nantong.admin.domain.model.response.product.ProductVo;
import com.nantong.common.mybatis.core.mapper.BaseMapperPlus;

/**
 * 产品Mapper接口
 */
@Mapper
public interface ProductMapper extends BaseMapperPlus<Product, ProductVo> {


    default Page<ProductVo> selectPageList(Page<Product> build, Wrapper<Product> productWrapper) {
        return this.selectVoPage(build, productWrapper);
    }

}